package com.ruoyi.staffDuty.domain.bo;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 文件查看情况业务对象 mt_staff_duty_file_show
 *
 * @author ruoyi
 * @date 2023-11-06
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class MtStaffDutyFileShowBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 员工类型ID
     */
    @NotNull(message = "员工类型ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long dutyFileId;

    /**
     * 员工ID
     */
    @NotBlank(message = "员工ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private String staffId;


}
